;用加法和loop编程计算123*10
assume cs:codesg

codesg segment
	
	mov ax,007bh ;ax=123
	mov cx,0009h   ;cx=9
	
	mov bx,2000h
	mov ds,bx
	
l:	add ax,007bh
	
	loop l

	mov ds:[0],ax
	
	mov ax,4c00h
	int 21h
codesg ends

end
